unit Main;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls,Types, ComCtrls, ExtCtrls;

type
  TForm1 = class(TForm)
    PageControl1: TPageControl;
    Panel1: TPanel;
    Button1: TButton;
    Button2: TButton;
    TabSheet1: TTabSheet;
    Memo1: TMemo;
    TabSheet2: TTabSheet;
    Memo2: TMemo;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation
uses WebService;
{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
var
  WebService : WebServiceSoap;
  s : string;
  Ba : TByteDynArray;
begin
  WebService := GetWebServiceSoap;
  s := Trim(Memo1.Lines.Text);
  s := WebService.GetInfoStringTypeXML('51E6BF1B77BC1D4EE050A8C016645965','440705122',s);
  Memo2.Lines.Text := s;
  PageControl1.ActivePageIndex := 1;
end;

end.
